#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2017-11-13 10:08
# @Author  : zejin
# @File    : parserTest.py
import urllib
from urllib.parse import  urljoin

page_url = 'https://baike.baidu.com/item/Python/407313'
new_url = '/item/史记·2016?fr=navbar'
new_full_url = urljoin(page_url,new_url)
print(new_full_url)

